package main

import (
	"math/rand"
	"fmt"
	"time"
)

func init() {
	rand.Seed(time.Now().Unix())
}

func main() {


	test1()

}

func test(){
	n := rand.Intn(100)
	var num int
	for {
		fmt.Scanf("%d",&num)
		if num == n{
			fmt.Println("猜对了")
			return
		}else if num > n {
			fmt.Println("太大了")
		}else {
			fmt.Println("太小了")
		}
	}

	fmt.Println(n)
}

func test1(){
	n := rand.Intn(100)
	var num int
	for {
		fmt.Scanf("%d\n",&num)

		switch {
		case num == n:
			fmt.Println("猜对了")
			return
		case num > n:
			fmt.Println("太大了")
		default:
			fmt.Println("太小了")
		}

	}

	fmt.Println(n)
}
